import service from '@/api/utils/request'

// 登录 /api/user/login
export const userLoginApi = (contactNumber, password) => {
  return service.post('/api/user/login', { contactNumber, password })
}

// 注册
export const registrationApi = (data) => {
  return service.post('/api/user/registration', data)
}

// 查询用户
export const queryUsersList = () => {
  return service.post('/api/user/query')
}
